The default value for gravity is zero, you can drag the slider to change the gravity.
Enjoy the fun of Physics!
You can access this simulation online from
Relations between y/vy/ay for a spring
Designed by Fu-Kwun Hwang (http://www.phy.ntnu.edu.tw/ntnujava/)
Deptartment of Physics, National Taiwan Normal University, Taiwan